<?php
namespace Xcx\Common;


class ErrorCode
{
    /**
     * 后端返回码定义
     */
    public static $Success = 0;
    public static $Fail = 1;//后端程序出错

    //登陆
    public static $NoLogin = 1001;//未登录
    public static $NoSession = 1002;//session3rd丢失
    public static $NoFollow = 1003;//用户未关注，且不在数据库

    //上传
    public static $UploadFail = 2001;//用户未关注，且不在数据库

    //商品优惠券
    public static $RemainCountFail = 3001;//用户未关注，且不在数据库
    public static $UserScoreCountFail = 3002;//用户未关注，且不在数据库

    //分享
    public static $ShareToSameGroup = 4001;//分享至相同群
    public static $ShareOverLimit = 4002;//分享至相同群

}